work by non-constant force